package com.augmentum.oes.dao;

import java.util.List;

import com.augmentum.oes.model.Exam;
import com.augmentum.oes.model.Pagination;
import com.augmentum.oes.model.SortStatusEnum;

public interface ExamDao {

    List<Exam> getList(Pagination pagination, SortStatusEnum sort, String sortField, String keyWord);

    int getTotalCount(String keyWord);

    Exam save(Exam exam);

    List<Exam> getQuestionByExamId(int id);

    Exam getById(int id);

    void update(Exam exam);

    void dropById(String[] idStr);

    List<Exam> searchByDate(String start, String end);
}
